﻿<%@ Page Title="用户信息" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="Userinfo.aspx.cs" Inherits="STP.Product.Userinfo" Async="true" %>

<asp:Content runat="server" ID="BodyContent" ContentPlaceHolderID="MainContent">
    <div class="form-horizontal">
    <h4>用户信息</h4>
    <hr />
    <asp:ValidationSummary runat="server" CssClass="text-danger" />
    
    <div class="form-group">
        <asp:Label runat="server"  CssClass="col-md-2 control-label">昵称：</asp:Label>
        <div class="col-md-10">
            <asp:Label runat="server" ID="nickname" CssClass="col-md-2 control-label" />
            <asp:Button runat="server" ID="submit" Text="发私信" OnClick="submit_Click" CssClass="col-md-2 btn btn-default" />
        </div>
        
    </div>
    <div class="form-group">
        <asp:Label runat="server"  CssClass="col-md-2 control-label">头像：</asp:Label>
        <div class="col-md-10">
            <asp:Image runat="server" ID="avatar" ImageUrl="~/img/default.jpg"  />
        </div>
    </div>
    <div class="form-group">
        <asp:Label runat="server"  CssClass="col-md-2 control-label">账号状态：</asp:Label>
        <div class="col-md-10">
            <asp:Label ID="disable" runat="server"  CssClass="col-md-2 control-label"></asp:Label>
        </div>
    </div>
    <div class="form-group">
        <asp:Label runat="server" CssClass="col-md-2 control-label">评分：</asp:Label>
        <div class="'col-md-10">
            <asp:Label ID="rating" runat="server" CssClass="col-md-2 control-label"></asp:Label>
        </div>
    </div>
    <div class="form-group">
        <asp:Label runat="server"  CssClass="col-md-2 control-label">性别：</asp:Label>
        <div class="col-md-10">
            <asp:Label runat="server" ID="sex" CssClass="col-md-2 control-label" />
        </div>
    </div>
    <div class="form-group">
        <asp:Label runat="server"  CssClass="col-md-2 control-label">生日：</asp:Label>
        <div class="col-md-10">
            <asp:Label runat="server" ID="birthdate" CssClass="col-md-2 control-label" />
        </div>
    </div>
    <div class="form-group">
        <asp:Label runat="server"  CssClass="col-md-2 control-label">QQ：</asp:Label>
        <div class="col-md-10">
            <asp:Label runat="server" ID="qq" CssClass="col-md-2 control-label" />
        </div>
    </div>
    <div class="form-group">
        <asp:Label runat="server"  CssClass="col-md-2 control-label">联系电话：</asp:Label>
        <div class="col-md-10">
            <asp:Label runat="server" ID="tel" CssClass="col-md-2 control-label" />
        </div>
    </div>
    <div class="form-group">
        <asp:Label runat="server"  CssClass="col-md-2 control-label">邮箱：</asp:Label>
        <div class="col-md-10">
            <asp:Label runat="server" ID="email" CssClass="col-md-2 control-label" />
        </div>
    </div>
    <div class="form-group">
        <asp:Label runat="server"  CssClass="col-md-2 control-label">学号：</asp:Label>
        <div class="col-md-10">
            <asp:Label runat="server" ID="sno" CssClass="col-md-2 control-label" />
        </div>
    </div>
        <div class="form-group">
        <asp:Label runat="server"  CssClass="col-md-2 control-label">专业：</asp:Label>
        <div class="col-md-10">
            <asp:Label runat="server" ID="major" CssClass="col-md-2 control-label" />
        </div>
    </div>
    <div class="form-group">
        <asp:Label runat="server"  CssClass="col-md-2 control-label">入学年份：</asp:Label>
        <div class="col-md-10">
            <asp:Label runat="server" ID="entryyear" CssClass="col-md-2 control-label" />
        </div>
    </div>
    <div class="col-md-10">
        <asp:Button runat="server" ID="addFriend" Text="加为好友"  CssClass="col-md-3 btn btn-default" OnClick="addFriend_Click" />
        <asp:Button runat="server" ID="deleteFriend" Text="删除好友"  CssClass="col-md-3 btn btn-default" OnClick="deleteFriend_Click" />
    </div>
    <div class="col-md-10">
        <asp:Button runat="server" ID="setDisable" Text="封禁用户"  CssClass="col-md-3 btn btn-default" OnClick="setDisable_Click"  />
        <asp:Button runat="server" ID="removeDisable" Text="解除封禁"  CssClass="col-md-3 btn btn-default" OnClick="removeDisable_Click"  />
        <br /><br /><br />
      
        <asp:Button runat="server" ID="changeRating" Text="修改评分" CssClass="col-md-3 btn btn-default" OnClick="changeRating_Click1" />
        <asp:Label runat="server" ID="label233" Text="评分(0-5分)" CssClass="col-md-3" />
        <asp:TextBox runat="server" ID="ratingBox" cssclass="col-md-10 form-control"></asp:TextBox>
    </div>
</div>

</asp:Content>
